#pragma once
#include <log4cpp/Category.hh>
#include <log4cpp/Layout.hh>
#include <log4cpp/Appender.hh>

class LoggerFactory
{
private:
	LoggerFactory();
	static LoggerFactory inst();
public:
	static log4cpp::Category& getLogger(std::string name);
private:
	bool processDir();
	log4cpp::Appender* initAppender(const std::string& name);
};

